<include file="public@head"/>

<div class="content-wrap wrap-box">
    <div id="first">
        <div class="banner f" id="banner1">
            <div class="move" id="move">
                <ul>
                    <volist name="slideList" id="slide">
                        <li class="carousel-item">
                            <img src="/upload/{$slide.image}" alt="">
                            <div class="banner-bottom">
                                <a href="{$slide.url}">{$slide.title}</a>
                            </div>
                        </li>
                    </volist>
                </ul>
            </div>
            <div class="ctrl" id="ctrl"></div>
        </div>
        <div class="dangwu r">
            <div class="dangwu-head">
                <img src="/static/xiaogu/images/dangwu-head.png" alt="">
            </div>
            <div class="dangwu-content">
                <if condition="$dwPost">
                    <if condition="$dwPost['thumb'] neq ''" >
                    <img src="{$dwPost.thumb}" width="" alt="" style="float: left">
                    </if>
                    <h6><a href="{:cmf_url('portal/Article/index',array('id'=>$dwPost.id))}">{$dwPost.post_title}</a></h6>
                    <a href="{:cmf_url('portal/Article/index',array('id'=>$dwPost.id))}">
                        <span class="post-desc" id="dwDesc">
                        {$dwPost.post_excerpt|htmlspecialchars_decode}...
                        </span>
                    </a>
                </if>
            </div>

            <div class="ad">
                <div class="adlist">
                    <ul class="list-style">
                        <li><a href="{:cmf_url('portal/list/index',array('id'=>33))}">两学一做</a></li>
                        <li><a href="{:cmf_url('portal/list/index',array('id'=>34))}">决议决定</a></li>
                        <li><a href="{:cmf_url('portal/list/index',array('id'=>35))}">思想建设</a></li>
                        <li><a href="{:cmf_url('portal/list/index',array('id'=>36))}">制度建设</a></li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
    <div id="ad1" class="banner-ad">
        <a href="{$ad1.url}">
        <img src="/upload/{$ad1.image}" alt="">
        </a>
    </div>
    <div class="c"></div>
    <div id="second">
        <div class="half-cate-box f">
            <div class="cate-head">
                <h6 class="title">国土新闻</h6>
            </div>
            <div class="post-list">
                <ul>

                    <volist name="gtList" id="vo">

                        <li>
                            <div class="title">
                            <span class="icon"> > </span>
                            <a href="{:cmf_url('portal/Article/index',array('id'=>$vo['id']))}">{$vo.post_title}</a>
                            </div>
                            <span class="created_at">{$vo.update_time|date="Y-m-d",###}</span>
                        </li>

                    </volist>

                </ul>
            </div>

            <!-- 财务公开 -->
            <div class="caiwu-gongkai">
                <div class="caiwu-img f">
                    <img src="/static/xiaogu/images/caiwu.jpg" alt="">
                </div>
                <div class="post-list f">
                    <ul>
                        <volist name="cwList" id="vo">
                        <li>
                            <a href="{:cmf_url('portal/Article/index',array('id'=>$vo['id']))}">{$vo.post_title}</a>
                        </li>
                        </volist>
                    </ul>
                </div>
                <div class="c"></div>
            </div>
        </div>
        <!-- 基准地价 -->
        <div class="half-cate-box r">
            <div class="cate-head">
                <h6 class="title">基准地价</h6>
            </div>
            <div class="dijia-list">
                <ul>
                    <volist name="yjList" id="vo">
                        <li>
                            <a href="{:cmf_url('portal/Article/index',array('id'=>$vo['id']))}">
                                <img src="{$vo.thumb}" alt="">
                                <span>{$vo.post_title}</span>
                            </a>
                        </li>
                    </volist>

                </ul>
            </div>
            <div class="c"></div>
            <div class="caiwu-gongkai">
                <div class="post-list f">
                    <ul>
                        <volist name="jbList" id="vo">
                            <li>
                                <a href="{:cmf_url('portal/jubao/detail',array('id'=>$vo['id']))}">{$vo.title}</a>
                            </li>
                        </volist>
                    </ul>
                </div>
                <div class="jubao r">
                    <a href="{:cmf_url('portal/Jubao/index')}">
                        <img src="/static/xiaogu/images/jubao.jpg" alt="">
                    </a>
                </div>
                <div class="c"></div>

            </div>
            <div class="jubao-tel">
                <a href="{:cmf_url('portal/Jubao/index')}">
                    <img src="/static/xiaogu/images/jubao_tel.jpg" alt="">
                </a>
            </div>

        </div>
    </div>
    <div class="c"></div>

    <div id="ad2" class="banner-ad">
        <a href="{$ad2.url}">
            <img src="/upload/{$ad2.image}" alt="">
        </a>
    </div>

    <div id="third">
        <div class="left-cate-box f">
            <div class="cate-head">
                <h6 class="title">办事指南</h6>
            </div>
            <div class="cate-box-container">
                <div class="cate-box-nav f" id="banshi-nav">
                    <ul>
                        <li class="active up bottom">
                            <span class="icon"><img src="/static/xiaogu/images/tudi-icon_03.png" alt=""></span>
                            <div class="title">土地</div>
                        </li>
                        <li class="up">
                            <span class="icon"><img src="/static/xiaogu/images/kuangchan-icon_03.png" alt=""></span>
                            <div class="title">矿产</div>
                        </li>
                        <li class="bottom">
                            <span class="icon"><img src="/static/xiaogu/images/fangchan-icon_03.png" alt=""></span>
                            <div class="title">房产</div>
                        </li>
                        <li>
                            <span class="icon"><img src="/static/xiaogu/images/cehui-icon_03.png" alt=""></span>
                            <div class="title">测绘</div>
                        </li>
                    </ul>
                </div>
                <div class="post-content f" id="banshi-post">

                    <div class="section-tab">
                        <ul>
                            <volist name="tdList" id="vo" key="k">
                                <if condition='$k % 2 neq 0'>
                                    <li class="odd">
                                        <a href="{:cmf_url('portal/Article/index',array('id'=>$vo['id']))}">{$vo.post_title}</a>
                                    </li>
                                    <else  />
                                    <li>
                                        <a href="{:cmf_url('portal/Article/index',array('id'=>$vo['id']))}">{$vo.post_title}</a>
                                    </li>
                                </if>
                            </volist>

                        </ul>
                    </div>
                    <div class="section-tab" style="display: none">
                        <ul>
                            <volist name="ccList" id="vo" key="k">
                                <if condition='$k % 2 neq 0'>
                                    <li class="odd">
                                        <a href="{:cmf_url('portal/Article/index',array('id'=>$vo['id']))}">{$vo.post_title}</a>
                                    </li>
                                    <else  />
                                    <li>
                                        <a href="{:cmf_url('portal/Article/index',array('id'=>$vo['id']))}">{$vo.post_title}</a>
                                    </li>
                                </if>
                            </volist>
                        </ul>
                    </div>
                    <div class="section-tab" style="display: none">
                        <ul>

                            <volist name="fcList" id="vo" key="k">
                                <if condition='$k % 2 neq 0'>
                                    <li class="odd">
                                        <a href="{:cmf_url('portal/Article/index',array('id'=>$vo['id']))}">{$vo.post_title}</a>
                                    </li>
                                    <else  />
                                    <li>
                                        <a href="{:cmf_url('portal/Article/index',array('id'=>$vo['id']))}">{$vo.post_title}</a>
                                    </li>
                                </if>
                            </volist>
                        </ul>
                    </div>
                    <div class="section-tab" style="display: none">
                        <ul>
                            <volist name="chList" id="vo" key="k">
                                <if condition='$k % 2 neq 0'>
                                    <li class="odd">
                                        <a href="{:cmf_url('portal/Article/index',array('id'=>$vo['id']))}">{$vo.post_title}</a>
                                    </li>
                                    <else  />
                                    <li>
                                        <a href="{:cmf_url('portal/Article/index',array('id'=>$vo['id']))}">{$vo.post_title}</a>
                                    </li>
                                </if>
                            </volist>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <div class="right-cate-box r">
            <div class="cate-head">
                <h6 class="title">不动产登记中心</h6>
            </div>
            <div class="cate-box-container">


                <div class="budongchan" style="margin-top: 15px">
                    <a href="http://bdc.iyjgt.com:443/index" target="_blank"><img src="/static/xiaogu/images/banshidating.jpg" alt=""></a>
                </div>
            </div>
        </div>

    </div>

    <div class="c"></div>
    <div id="four" class="floor">
        <div class="left-cate-box f">
            <div class="cate-head">
                <h6 class="title">网上公告</h6>
            </div>
            <div class="cate-box-container">
                <div class="cate-box-nav f gonggao" id="gonggao-nav">
                    <ul>
                        <li class="active">
                            <span class="icon"><img src="/static/xiaogu/images/gonggao.png" alt=""></span>
                            <div class="title">公告公示</div>
                        </li>
                        <li>
                            <span class="icon"><img src="/static/xiaogu/images/tongzhi.png" alt=""></span>
                            <div class="title">公告通知</div>
                        </li>
                    </ul>
                </div>
                <div class="post-content gonggao-post f" id="gonggong-post">
                    <div class="post-cate-tab">
                        <ul class="list-style">
                            <volist name="gsSonCateList" id="vo" key="k">
                            <li>
                                <span class="title <if condition='$k eq 1'>active</if>">{$vo.name}</span>
                                <span class="xian">/</span>
                            </li>
                            </volist>

                        </ul>
                        <div class="c"></div>
                    </div>

                    <div class="post-cate-tab" style="display: none">
                        <ul class="list-style">
                            <volist name="tzSonCateList" id="vo">
                                <li>
                                    <span class="title <if condition='$k eq 1'>active</if>">{$vo.name}</span>
                                    <span class="xian">/</span>
                                </li>
                            </volist>
                        </ul>
                        <div class="c"></div>
                    </div>
                    <div class="section-list">
                        <volist name="gsList" id="vo" key="k">
                        <div class="section-tab" <if condition='$k gt 1'>style="display: none;"</if> >
                            <ul>
                                <volist name="vo" id="post" key="i">

                                <li class="<if condition='$i % 2 neq 0'>odd</if>">
                                    <a href="{:cmf_url('portal/Article/index',array('id'=>$post['id']))}">{$post.post_title}</a>
                                    <span class="date">{$post.update_time|date="Y-m-d",###}</span>
                                </li>
                                </volist>

                            </ul>
                        </div>
                        </volist>

                    </div>

                    <volist name="tzList" id="vo" key="k">
                    <div class="section-tab" <if condition='$k gt 0'>style="display: none"</if> >
                        <ul>
                            <volist name="vo" id="post" key="i">

                                <li class="<if condition='$i % 2 neq 0'>odd</if>">
                                    <a href="{:cmf_url('portal/Article/index',array('id'=>$post['id']))}">{$post.post_title}</a>
                                    <span class="date">{$post.update_time|date="y-m-d",###}</span>
                                </li>
                            </volist>

                        </ul>
                    </div>
                    </volist>

                </div>
            </div>
        </div>

        <div class="right-cate-box r">
            <div class="cate-head">
                <h6 class="title">信息公开</h6>
            </div>
            <div class="cate-box-container">
                <div class="banshi">
                    <a href=""><img src="/static/xiaogu/images/xinximulu.png" alt=""></a>
                    <a target="_blank" href="http://xxgk.yanji.gov.cn/zwdtSjgl/ysq/add.jsp?depid=01360928-8&depname=%E5%BB%B6%E5%90%89%E5%B8%82%E5%9B%BD%E5%9C%9F%E8%B5%84%E6%BA%90%E5%B1%80" style="margin-left: 10px;"><img src="/static/xiaogu/images/yifashenqing.png" alt=""></a>
                </div>

                <div class="budongchan" style="margin-top: 15px">
                    <a href=""><img src="/static/xiaogu/images/shijiuda.png" alt=""></a>
                </div>
            </div>
        </div>

        <div class="right-cate-box r" style="margin-top: 20px" id="zonghefuwu">
            <div class="cate-head">
                <h6 class="title">综合服务</h6>
            </div>
            <div class="cate-box-container">
                <div class="banshi">
                    <a href="">
                        <img src="/static/xiaogu/images/didian.png" alt="">
                        <span>办件地点</span>
                    </a>
                    <a href="">
                        <img src="/static/xiaogu/images/jigouzhineng.png" alt="">
                        <span>机构职能</span>
                    </a>

                    <a href="">
                        <img src="/static/xiaogu/images/zhengce.png" alt="">
                        <span>政策法规</span>
                    </a>

                    <a href="">
                        <img src="/static/xiaogu/images/gongzuo.png" alt="">
                        <span>工作职能</span>
                    </a>

                    <a href="">
                        <img src="/static/xiaogu/images/yewuzhinan.png" alt="">
                        <span>业务指南</span>
                    </a>

                    <a href="">
                        <img src="/static/xiaogu/images/baixingrexian.png" alt="">
                        <span>百姓热线</span>
                    </a>
                </div>
                <div class="c"></div>
            </div>
        </div>
    </div>
    <div class="c"></div>

    <div id="five" class="floor">
        <div class="zhuanxiang-img f">
            <img src="/static/xiaogu/images/zhuanxiang.png" alt="">
        </div>
        <div class="zhuanxian-list f">
            <ul class="list-style">
                <volist name="zhuantiList" id="vo">
                    <li><a href="{:cmf_url('portal/page/index',array('id'=>$vo.id))}"><img src="{$vo.thumb}" alt=""></a></li>
                </volist>
            </ul>
        </div>
        <div class="c"></div>
    </div>
</div>
<script src="/static/xiaogu/myscroll/js/myscroll.js" type="text/javascript" charset="utf-8"></script>
<script>
    var dwDesc = $("#dwDesc").text();
    var result;
    result = dwDesc.replace(/(^\s+)|(\s+$)/g,"");
    result = result.replace(/\s/g,"");
    result = result.substring(0,175);
    $("#dwDesc").html(result + '...');
    $('.banner').myscroll({
        picElem: $('#move'), //图片父级
        ctrlElem: $('#ctrl'), //控制条父级(包括小圆点和左右箭头)
        isLibs: true, //是否创建底部小圆点(样式均可自定义调整),默认向lib添加单独类名，详情见调用后dom结构
        isArrows: true, //是否创建左右箭头(样式均可自定义调整)
        autoPlay: true, //是否自动播放
        playTime: 3000, //自动播放间隔时间
        playSpeed: 700, //图片切换速度
        effect: 'left' //轮播的改变方式 top(向上) left(向左) fade(淡入淡出)
    });

</script>
<include file="public@footer"/>

